#include <bits/stdc++.h>
using namespace std;
int T;
int main()
{
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    ios::sync_with_stdio(false);
    cin.tie(0);
    cin>>T;
    for(int i=1;i<=T;i++)
        cout<<0<<'\n';
    return 0;
}
